
import axios from '../../axios.js';

const parkings = {
    // 获取车位列表数据
    getParkinData: function (data) {
        // console.log(data.lessorsId);
        return axios({
            url: "/parkings/getParkinData",
            method: "post",
            data
        });
    },
    // 获取车位的id
    getParkinDatabyid: function (_id) {
        return axios({
            url: "/parkings/getParkinData",
            method: "post",
            data: {
                _id,
            }
        });
    },
}

export default parkings